package com.mervin.patterns.factory.abstractfactory;

/***************************************
 * @Auther: mervin
 * @Date: 2020-04-17 00:41
 * @Description: 热带产品族工厂类
 ***************************************/
public class TropicalCreateFactory implements CreateFactory {

    @Override
    public IFruit createFruit() {
        return new TropicalFruit("热带水果");
    }

    @Override
    public IVeggie createVeggie() {
        return new TropicalVeggie("热带蔬菜");
    }
}
